﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MediaScraper.DataAccess.Entities
{
    public class ProcessHistoryEntry : UniqueEntity<Guid>
    {
        public string OldPath { get; set; }
        public string OldFileName { get; set; }
        public string NewPath { get; set; }
        public string NewFilename { get; set; }
        public List<string> SubTitlesDownloaded { get; set; }
        public string Message { get; set; }
        public DateTime ProcessDate { get; set; }
        public ProcessClassification ProcessClassification { get; set; }
    }

    public enum ProcessClassification
    {
        Unknown = 1,
        Error = 2,
        Success = 3,
        Moved = 4,
        Copied = 5,
        Deleted = 6,
        Created = 7,
        Downloaded  = 8
    }
}
